package cn.bb.entity2;

import java.io.Serializable;

public class Printer implements Serializable {
   private Lnk lnk;
   private Paper paper;
   public void printerInfo(){
       System.out.println("打印选项：");
       lnk.printInkInfo();
       paper.printInkInfo();
   }

    public Printer() {
    }
    public Printer(Lnk lnk, Paper paper) {
        this.lnk = lnk;
        this.paper = paper;
    }

    public Lnk getLnk() {
        return lnk;
    }

    public void setLnk(Lnk lnk) {
        this.lnk = lnk;
    }

    public Paper getPaper() {
        return paper;
    }

    public void setPaper(Paper paper) {
        this.paper = paper;
    }
}
